#ifndef _MSG_SCIAPI_h
#define _MSG_SCIAPI_h

/* #include */
#include "msg_sciType.h"
#include "msg_sci1List.h"


//SCI message transform function;
BOOL s_bool_rd(SCI_RX_MSG_S *ptr, UINT8 lsbPos, UINT8 bitSize);
UINT8   s_u8_rd(SCI_RX_MSG_S *ptr, UINT8 lsbPos, UINT8 bitSize);
UINT16  s_u16_rd(SCI_RX_MSG_S *ptr, UINT8 lsbPos, UINT8 bitSize);
UINT32  s_u32_rd(SCI_RX_MSG_S *ptr, UINT8 lsbPos, UINT8 bitSize);
void s_bool_wr(SCI_TX_MSG_S *ptr, UINT8 lsbPos, UINT8 bitSize, BOOL v);
void s_u8_wr(SCI_TX_MSG_S *ptr, UINT8 lsbPos, UINT8 bitSize, UINT8 v);
void s_u16_wr(SCI_TX_MSG_S *ptr, UINT8 lsbPos, UINT8 bitSize, UINT16 v);

#endif








